package org.note.law.module.law;

import org.lboot.jpa.service.UniService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface LawCodeService extends UniService<LawCode, String> {
    List<LawCode> getByCodeName(String codeName);


    List<LawCode> getByCodeNameAndCodeVersion(String codeName, String codeVersion);

    Page<LawCode> getAllMatcher(Pageable pageable, String key);

    Page<LawCode> getAllIgnoreFile(Pageable pageable);
}
